#include "views.h"
#include <fstream>

async<> TemplateView::GET(Request *request) {
    int chunk = 4096;
    std::ifstream st(template_name);



    std::string stream;
    while(!st.eof()) {
        getline(st, stream);
        co_await request->write(stream);
    }
}
